#import "JVPharosStepModel.h"



@interface JVPharosStepModel ()
@property (nonatomic, strong) NSMutableDictionary *fieldTranscationMap;
@end

@implementation JVPharosStepModel

- (NSDictionary *)fieldTransaction{
    NSMutableDictionary *ret = [[NSMutableDictionary alloc] initWithDictionary:self.fieldTranscationMap];
    if (self.step != nil && self.step.length > 0) {
        [ret setObject:@(self.step_t) forKey:self.step];
    }
    if (ret.count == 0) {
        return nil;
    }
    return [ret copy];
}

- (void)setFieldTranscationEntryWithObject:(id)value forKey:(NSString *)key {
    if (self.fieldTranscationMap == nil) {
        self.fieldTranscationMap = [[NSMutableDictionary alloc] init];
    }
    if (key) {
        [self.fieldTranscationMap setObject:value forKey:key];
    }
}

@end
